YAYDP\Helper\YAYDP_Helper B

Total Complexity 81
Dependencies 5
Dependents 9
Total lines 450
Lines of code 305
Logical lines of code 175
Comment lines 110
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
get_min_max_discount_percentages()
D
31 34 104
get_total_amount_adjustments()
S
48 6 33
replace_rgb_to_hex()
S
54 5 20
get_pricing_milestones()
S
56 5 18
sort_adjustments_by_get_free_item_first()
S
60 5 13
sort_adjustments_by_small_amount_first()
S
55 4 23
sort_adjustments_by_high_amount_first()
S
55 4 23
get_highest_amount_adjustment()
S
61 3 12
get_smallest_amount_adjustment()
S
61 3 12
check_nonce()
S
68 3 6
get_mapped_virtual_cart_items()
S
64 3 10
sanitize_array()
S
69 2 7
map_filter_value()
S
68 1 8
str_to_hex()
S
74 1 4
verify_rest_nonce()
S
75 1 4
get_verify_rest_nonce_failure_response()
S
68 1 8